15 lines
407 B
TypeScript
15 lines
407 B
TypeScript
![]() |
export interface AstroQuery {
|
||
|
astro?: boolean;
|
||
|
src?: boolean;
|
||
|
type?: 'script' | 'template' | 'style' | 'custom';
|
||
|
index?: number;
|
||
|
lang?: string;
|
||
|
raw?: boolean;
|
||
|
}
|
||
|
export interface ParsedRequestResult {
|
||
|
filename: string;
|
||
|
query: AstroQuery;
|
||
|
}
|
||
|
export declare function parseAstroRequest(id: string): ParsedRequestResult;
|
||
|
export declare function isAstroScript(id: string): boolean;
|