PHP 8.2.30
Preview: Sheet.d.ts Size: 1.69 KB
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/styled-components/native/dist/sheet/Sheet.d.ts

import { InsertionTarget } from '../types';
import { GroupedTag, Sheet, SheetOptions } from './types';
type SheetConstructorArgs = {
    isServer?: boolean;
    useCSSOMInjection?: boolean;
    target?: InsertionTarget | undefined;
};
type GlobalStylesAllocationMap = {
    [key: string]: number;
};
type NamesAllocationMap = Map<string, Set<string>>;
/** Contains the main stylesheet logic for stringification and caching */
export default class StyleSheet implements Sheet {
    gs: GlobalStylesAllocationMap;
    names: NamesAllocationMap;
    options: SheetOptions;
    server: boolean;
    tag?: GroupedTag | undefined;
    /** Register a group ID to give it an index */
    static registerId(id: string): number;
    constructor(options?: SheetConstructorArgs, globalStyles?: GlobalStylesAllocationMap, names?: NamesAllocationMap | undefined);
    rehydrate(): void;
    reconstructWithOptions(options: SheetConstructorArgs, withNames?: boolean): StyleSheet;
    allocateGSInstance(id: string): number;
    /** Lazily initialises a GroupedTag for when it's actually needed */
    getTag(): GroupedTag;
    /** Check whether a name is known for caching */
    hasNameForId(id: string, name: string): boolean;
    /** Mark a group's name as known for caching */
    registerName(id: string, name: string): void;
    /** Insert new rules which also marks the name as known */
    insertRules(id: string, name: string, rules: string[]): void;
    /** Clears all cached names for a given group ID */
    clearNames(id: string): void;
    /** Clears all rules for a given group ID */
    clearRules(id: string): void;
    /** Clears the entire tag which deletes all rules but not its names */
    clearTag(): void;
}
export {};

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
523 B lrw-r--r-- 2026-02-28 11:42:50
Edit Download
427 B lrw-r--r-- 2026-02-28 11:42:56
Edit Download
251 B lrw-r--r-- 2026-02-28 11:42:56
Edit Download
35 B lrw-r--r-- 2026-02-28 11:42:58
Edit Download
552 B lrw-r--r-- 2026-02-28 11:43:00
Edit Download
1.69 KB lrw-r--r-- 2026-02-28 11:43:02
Edit Download
1.87 KB lrw-r--r-- 2026-02-28 11:43:04
Edit Download
1.12 KB lrw-r--r-- 2026-02-28 11:43:04
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).